﻿using System;
using System.Text;
using JKF.BusinessLayer.BLL;
using JKF.Substructure;
namespace JKF.Web.Point_Log
{
    public partial class Add : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            MODULE_NAME_EN = "POINT";
        }

        private static StringBuilder sbBuilder = new StringBuilder();
        public string PonitTypeOption
        {
            get
            {               
                var bllDicPoint =   new bllDIC_POINT();
               
                var dicPoints= bllDicPoint.GetModelList("");
                sbBuilder.Clear();
                foreach (var pointType in dicPoints)
                {
                    sbBuilder.AppendFormat("<option value=\"{0}\">{1}</option>", pointType.CODE, Server.HtmlEncode(pointType.NAME));
                }
                return sbBuilder.ToString();
            }
        }
    }
}